home *** CD-ROM | disk | FTP | other *** search
/ ETO Development Tools 1 / ETO Development Tools 1.iso / Essentials / MacApp Documentation / MacApp AppleLink Messages / MacApp.Tech$ 3⁄2⁄90 / 0761-Re Memory Mgmt in OO-Feb90 next >
Encoding:
Text File  |  1990-03-02  |  1.5 KB  |  40 lines  |  [TEXT/GEOL]

  1. Item forwarded  by  BURBECK.S    to EYES
  2.  
  3. Item    7870821                         23-Feb-90        20:03PST
  4.  
  5. From:   KORNHER                         Scarab Research, C Kornher,PRT
  6.  
  7. To:     MACAPP.TECH$                    MacApp Technical
  8.  
  9. Sub:    Re: Memory Mgmt in OO Systems
  10.  
  11. YES!
  12.  
  13. Complex applications cannot use handle based objects for everything.  C++ helps
  14. a bit with its ability to use objects not tied to handles.  This problem may be
  15. resolved in a few ways:
  16.  
  17. 1) A new version of Object Pascal / MacApp / Toolbox will provide an elegant
  18. way to interface to custom allocators.  This means making smart pointers that
  19. can get objects from arrays, databases, even other machines accross networks.
  20. The access should be transparent to the programmer ( with hooks for
  21. optimization, of course ).
  22.  
  23. 2) A new object oriented operating system will provide a new "NEW" operator
  24. which will use fancy virtual memory allocation, or ?
  25.  
  26. 3) Some allocation and pointer classes and other stuff will be layered on top
  27. of the current memory manager.
  28.  
  29. The ideal situation would be a combination of #1 and #2.  #2 without #1 is not
  30. flexible enough for many kinds of applications ( true groupware, network
  31. databases, network games,  etc. ).  #3 would be a mistake as a long term
  32. solution, as this is really an OS level problem.
  33.  
  34. Such a system would be lead to an an incredible technological and marketting
  35. advantage for Macintosh.  I hope that this is in the works for system 8.
  36.  
  37.  
  38. Christopher Kornher
  39.  
  40.